home *** CD-ROM | disk | FTP | other *** search
/ Resource for Source: C/C++ / Resource for Source - C-C++.iso / codelib9 / v_11_06 / 1106014a < prev    next >
Encoding:
Text File  |  1995-11-01  |  224 b   |  14 lines

  1. #include <wchar.h>
  2.  
  3. static wchar_t hirigana = wctype("hirigana");
  4.  
  5. int ishiri(wchar_t *wcs)
  6.     {    /* test each element of string */
  7.     while (*wcs)
  8.         if (!iswctype(*wcs++, hirigana))
  9.             return (0);
  10.     return (1);
  11.     }
  12.  
  13.  
  14.